{#include file="admin_header.htm"#}
<script type="text/javascript" src="js/is_show.js"></script>
<div class="admin_main_nr_dbox">
  <form action="?act=site_navigation_all_save" method="post"  name="form1" id="form1">
    <table width="700" border="0" cellspacing="0" cellpadding="5" >
      <tr>
        <td height="25" style="font-size:14px;">導航欄設置        </td>
      </tr>
    </table>
    <table width="700" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
      <tr>
        <td width="55" height="26" align="center" bgcolor="#D0E2F7" >顯示</td>
        <td width="130" align="center" bgcolor="#D0E2F7" >&nbsp;導航欄目</td>
        <td width="150" align="center" bgcolor="#D0E2F7"  >連接地址</td>
        <td width="80" align="center"  bgcolor="#D0E2F7">打開方式</td>
        <td align="center"  bgcolor="#D0E2F7">說明</td>
        <td width="70" align="center" bgcolor="#D0E2F7"  >顯示順序</td>
        <td width="80" align="center" bgcolor="#D0E2F7"  >編輯</td>
      </tr>
    </table>
    <table width="700" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="link_lan" >
      {#section name=list loop=$list#}
      <tr class="row">
      <td width="55" height="34" align="center" style="border-bottom:1px #CCCCCC solid; padding-left:2px;">
	  {#if $list[list].display=="1"#}
	  <span style="color: #FF3300">顯示</span>
	  {#else#}
	<span style="color:#999999">不顯示</span>
	  {#/if#}	   </td>
        <td width="130" style="border-bottom:1px #CCCCCC solid; padding-left:2px;">
		<input name="title[]" type="text" class="article_category_input_a"  onfocus="this.className='article_category_input_c'"   onblur="this.className='article_category_input_a'" value="{#$list[list].title#}" maxlength="8" style="width:100px;"/>
		</td>
        <td width="150" style="border-bottom:1px #CCCCCC solid" onmousemove="showpup('{#$list[list].url#}')" onmouseout="hidepup()">{#$list[list].url_str#}&nbsp;</td>
        <td width="80" align="center" style="border-bottom:1px #CCCCCC solid">
		{#if $list[list].target=="_blank"#}
		新窗口
		{#/if#}
		{#if $list[list].target=="_self"#}
		當前窗口
		{#/if#}
		</td>
        <td style="border-bottom:1px #CCCCCC solid">{#$list[list].notes #}</td>
        <td width="70" align="center" valign="middle" style="border-bottom:1px #CCCCCC solid">
		<input name="navigationorder[]" type="text" class="article_category_input_a" style="width:30px; font-size:12px;"  onfocus="this.className='article_category_input_c'"   onblur="this.className='article_category_input_a'"  onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" value="{#$list[list].navigationorder#}" maxlength="4" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
		</td>
        <td width="80" align="center" style="border-bottom:1px #CCCCCC solid">
		<a href="?act=site_navigation_edit&id={#$list[list].id#}">修改</a>		{#if $list[list].systemclass!="1"#}
		<a href="?act=del_navigation&id={#$list[list].id#}"  onclick="return confirm('你確定要刪除嗎？')">刪除</a>
		{#/if#}
		<input name="id[]" type="hidden" value="{#$list[list].id#}" />
		</td>
      </tr>
      {#sectionelse#}
  <tr>
    <td height="50" colspan="7" align="center">沒有任何記錄！</td>
  </tr>
      {#/section#}
    </table>
    <table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="50">
		<input type="submit" name="Submit22" value="保存修改" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'"/>&nbsp;&nbsp;&nbsp;&nbsp;
		<input name="add" type="button" class="Qishi_submit_a" id="add" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" value="添加欄目"  onclick="window.location='?act=site_navigation_add'"/></td>
      </tr>
    </table>
  </form>
</div>
{#include file="admin_footer.htm"#}
</body>
</html>
